package com.dingyh.shopwebbackground.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;

/**
 * <p>
 * 
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-20
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
public class Stock implements Serializable {

    @Tolerate
    public Stock() {
    }

    private static final long serialVersionUID=1L;

    private String id;

    private String goodsid;

    private String saleid;

    private Long qty;

    /**
     * 入库时间
     */
    private Long timeadd;

    /**
     * 批次
     */
    private String flot;

    /**
     * 有效期至/过期时间
     */
    private Long exdate;

    /**
     * 生产日期
     */
    private Long pdate;


    @TableField(exist = false)
    private String expireState;

    @TableField(exist = false)
    private String goodsname;
}
